﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage/Master.Master" AutoEventWireup="true"
    CodeBehind="wFrmRegistroMetasGenerar.aspx.cs" Inherits="Crosland.Automotriz.Web.Repuestos.wFrmRegistroMetasGenerar" %>

<%@ Register Assembly="DevExpress.Web.v13.1, Version=13.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxPopupControl" TagPrefix="dx" %>
<%@ Register Assembly="DevExpress.Web.v13.1, Version=13.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxTabControl" TagPrefix="dx" %>
<%@ Register Assembly="DevExpress.Web.v13.1, Version=13.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxRoundPanel" TagPrefix="dx" %>
<%@ Register Assembly="DevExpress.Web.v13.1, Version=13.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxGridView" TagPrefix="dx" %>
<%@ Register Assembly="DevExpress.Web.v13.1, Version=13.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxEditors" TagPrefix="dx" %>
<%@ Register Assembly="DevExpress.Web.v13.1, Version=13.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxPanel" TagPrefix="dx" %>
<asp:Content ID="Content1" ContentPlaceHolderID="cphMain" runat="server">
    <script type="text/javascript">
        function ShowMsj() {

            popupmsj.Show();
        }

    </script>
    <script type="text/javascript">


        function pageLoad() {

            var control = document.getElementById('ctl00_cphMain_hfIndicador');
            cambiarImagenHeader();

            if (control.value == 'S') {
                $find('<%= ((AjaxControlToolkit.CollapsiblePanelExtender)this.Master.FindControl("cpeMenuGeneral")).BehaviorID %>')._doClose();

                control.value = 'N';
            }


        }

                

                
               

    </script>
    <div class="main-header" style="width: 100%">
        <div class="main-titulo" style="width: 87%;">
            Mantenimiento
            <dx:ASPxLabel ID="lbltitulo" runat="server" Font-Bold="True" Font-Names="Arial" Font-Size="Medium">
            </dx:ASPxLabel>
        </div>
    </div>
    <asp:HiddenField ID="hfIndicador" runat="server" Value="S" />
    <table>
        <tr>
            <td>
                <dx:ASPxButton ID="btnGrabar" runat="server" Text="Grabar" CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css"
                    CssPostfix="Office2010Blue" SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css"
                    Width="100px" OnClick="btnGrabar_Click">
                </dx:ASPxButton>
            </td>
            <td>
                <dx:ASPxButton ID="btnSalir" runat="server" Text="Salir" CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css"
                    CssPostfix="Office2010Blue" SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css"
                    OnClick="btnSalir_Click">
                </dx:ASPxButton>
            </td>
        </tr>
    </table>
    <div class="content-form">
        <dx:ASPxRoundPanel ID="RPMetasVendedor" runat="server" Width="200px" CssFilePath="~/App_Themes/Aqua/{0}/styles.css"
            CssPostfix="Aqua" GroupBoxCaptionOffsetY="-28px" HeaderText="" SpriteCssFilePath="~/App_Themes/Aqua/{0}/sprite.css"
            ClientInstanceName="RPMetasVendedor" ClientVisible="False">
            <ContentPaddings Padding="14px" />
            <PanelCollection>
                <dx:PanelContent runat="server" SupportsDisabledAttribute="True">
                    <table>
                        <tr>
                            <td style="width: 88px">
                                Vendedor
                            </td>
                            <td>
                                <dx:ASPxComboBox ID="cboVendedor" runat="server" CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css"
                                    CssPostfix="Office2010Blue" Spacing="0" SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css"
                                    IncrementalFilteringMode="Contains">
                                    <LoadingPanelImage Url="~/App_Themes/Office2010Blue/Editors/Loading.gif">
                                    </LoadingPanelImage>
                                    <LoadingPanelStyle ImageSpacing="5px">
                                    </LoadingPanelStyle>
                                    <ButtonStyle Width="13px">
                                    </ButtonStyle>
                                </dx:ASPxComboBox>
                            </td>
                            <td>
                                &nbsp;
                            </td>
                            <td>
                                Año:
                            </td>
                            <td>
                                <dx:ASPxComboBox ID="cboAnio" runat="server" CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css"
                                    CssPostfix="Office2010Blue" Spacing="0" SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css"
                                    SelectedIndex="0">
                                    <Items>
                                        <dx:ListEditItem Selected="True" Text="2010" Value="2010" />
                                        <dx:ListEditItem Text="2011" Value="2011" />
                                        <dx:ListEditItem Text="2012" Value="2012" />
                                        <dx:ListEditItem Text="2013" Value="2013" />
                                        <dx:ListEditItem Text="2014" Value="2014" />
                                    </Items>
                                    <LoadingPanelImage Url="~/App_Themes/Office2010Blue/Editors/Loading.gif">
                                    </LoadingPanelImage>
                                    <LoadingPanelStyle ImageSpacing="5px">
                                    </LoadingPanelStyle>
                                    <ButtonStyle Width="13px">
                                    </ButtonStyle>
                                </dx:ASPxComboBox>
                            </td>
                            <td>
                                &nbsp;
                            </td>
                            <td>
                                Mes:
                            </td>
                            <td>
                                <dx:ASPxComboBox ID="cboMes" runat="server" CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css"
                                    CssPostfix="Office2010Blue" Spacing="0" SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css">
                                    <Items>
                                        <dx:ListEditItem Text="Enero" Value="1" />
                                        <dx:ListEditItem Text="Febrero" Value="2" />
                                        <dx:ListEditItem Text="Marzo" Value="3" />
                                        <dx:ListEditItem Text="Abril" Value="4" />
                                        <dx:ListEditItem Text="Mayo" Value="5" />
                                        <dx:ListEditItem Text="Junio" Value="6" />
                                        <dx:ListEditItem Text="Julio" Value="7" />
                                        <dx:ListEditItem Text="Agosto" Value="8" />
                                        <dx:ListEditItem Text="Septiembre" Value="9" />
                                        <dx:ListEditItem Text="Octubre" Value="10" />
                                        <dx:ListEditItem Text="Noviembre" Value="11" />
                                        <dx:ListEditItem Text="Diciembre" Value="12" />
                                    </Items>
                                    <LoadingPanelImage Url="~/App_Themes/Office2010Blue/Editors/Loading.gif">
                                    </LoadingPanelImage>
                                    <LoadingPanelStyle ImageSpacing="5px">
                                    </LoadingPanelStyle>
                                    <ButtonStyle Width="13px">
                                    </ButtonStyle>
                                </dx:ASPxComboBox>
                            </td>
                        </tr>
                        <tr>
                            <td style="width: 88px">
                                &nbsp;
                            </td>
                            <td>
                                &nbsp;
                            </td>
                            <td>
                                &nbsp;
                            </td>
                            <td>
                                &nbsp;
                            </td>
                            <td>
                                &nbsp;
                            </td>
                            <td>
                                &nbsp;
                            </td>
                            <td>
                                &nbsp;
                            </td>
                            <td>
                                &nbsp;
                            </td>
                        </tr>
                        <tr>
                            <td align="justify">
                                Grupo árticulo:
                            </td>
                            <td>
                                <dx:ASPxComboBox ID="cboGrupoArticulo" runat="server" CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css"
                                    CssPostfix="Office2010Blue" Spacing="0" SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css"
                                    IncrementalFilteringMode="Contains">
                                    <LoadingPanelImage Url="~/App_Themes/Office2010Blue/Editors/Loading.gif">
                                    </LoadingPanelImage>
                                    <LoadingPanelStyle ImageSpacing="5px">
                                    </LoadingPanelStyle>
                                    <ButtonStyle Width="13px">
                                    </ButtonStyle>
                                </dx:ASPxComboBox>
                            </td>
                            <td>
                                &nbsp;
                            </td>
                            <td>
                                Nro.rueda
                            </td>
                            <td>
                                <dx:ASPxComboBox ID="cboNroRuedas" runat="server" CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css"
                                    CssPostfix="Office2010Blue" Spacing="0" SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css"
                                    SelectedIndex="0">
                                    <Items>
                                        <dx:ListEditItem Selected="True" Text="2R" Value="2R" />
                                        <dx:ListEditItem Text="3R" Value="3R" />
                                    </Items>
                                    <LoadingPanelImage Url="~/App_Themes/Office2010Blue/Editors/Loading.gif">
                                    </LoadingPanelImage>
                                    <LoadingPanelStyle ImageSpacing="5px">
                                    </LoadingPanelStyle>
                                    <ButtonStyle Width="13px">
                                    </ButtonStyle>
                                </dx:ASPxComboBox>
                            </td>
                            <td>
                                &nbsp;
                            </td>
                            <td>
                                Cantidad:
                            </td>
                            <td>
                                <dx:ASPxTextBox ID="txtCantidad" runat="server" CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css"
                                    CssPostfix="Office2010Blue" SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css"
                                    Width="170px" Text="0">
                                </dx:ASPxTextBox>
                            </td>
                            <td>
                                <dx:ASPxButton ID="btnAgregar" runat="server" CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css"
                                    CssPostfix="Office2010Blue" SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css"
                                    Text="Agregar" OnClick="btnAgregar_Click">
                                </dx:ASPxButton>
                            </td>
                        </tr>
                    </table>
                    <dx:ASPxGridView ID="grdVendedor" runat="server" AutoGenerateColumns="False" CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css"
                        CssPostfix="Office2010Blue" Width="100%">
                        <Columns>
                            <dx:GridViewDataTextColumn Caption="Vendedor" ShowInCustomizationForm="True" VisibleIndex="0"
                                FieldName="NOM_VENDEDOR">
                            </dx:GridViewDataTextColumn>
                            <dx:GridViewDataTextColumn Caption="Año" ShowInCustomizationForm="True" VisibleIndex="1"
                                FieldName="ANIO">
                            </dx:GridViewDataTextColumn>
                            <dx:GridViewDataTextColumn Caption="Mes" ShowInCustomizationForm="True" VisibleIndex="2"
                                FieldName="MES">
                            </dx:GridViewDataTextColumn>
                            <dx:GridViewDataTextColumn Caption="Grupo árticulo" ShowInCustomizationForm="True"
                                VisibleIndex="3" FieldName="DES_GRUPO_ARTICULO">
                            </dx:GridViewDataTextColumn>
                            <dx:GridViewDataTextColumn Caption="Nro.rueda" ShowInCustomizationForm="True" VisibleIndex="4"
                                FieldName="NRORUEDAS">
                            </dx:GridViewDataTextColumn>
                            <dx:GridViewDataTextColumn Caption="Cantidad" ShowInCustomizationForm="True" VisibleIndex="5"
                                FieldName="CANT">
                            </dx:GridViewDataTextColumn>
                            <dx:GridViewDataTextColumn FieldName="ID_UBIC_VEND_CAB" ShowInCustomizationForm="True"
                                Visible="False" VisibleIndex="7">
                            </dx:GridViewDataTextColumn>
                            <dx:GridViewDataTextColumn FieldName="ID_VENDEDOR" ShowInCustomizationForm="True"
                                Visible="False" VisibleIndex="8">
                            </dx:GridViewDataTextColumn>
                            <dx:GridViewDataTextColumn FieldName="ID_GRUPO_ARTICULO" ShowInCustomizationForm="True"
                                Visible="False" VisibleIndex="9">
                            </dx:GridViewDataTextColumn>
                            <dx:GridViewDataTextColumn FieldName="ID_MES" ShowInCustomizationForm="True" Visible="False"
                                VisibleIndex="6">
                            </dx:GridViewDataTextColumn>
                        </Columns>
                        <SettingsPager PageSize="20">
                        </SettingsPager>
                        <Images SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css">
                            <LoadingPanelOnStatusBar Url="~/App_Themes/Office2010Blue/GridView/Loading.gif">
                            </LoadingPanelOnStatusBar>
                            <LoadingPanel Url="~/App_Themes/Office2010Blue/GridView/Loading.gif">
                            </LoadingPanel>
                        </Images>
                        <ImagesFilterControl>
                            <LoadingPanel Url="~/App_Themes/Office2010Blue/GridView/Loading.gif">
                            </LoadingPanel>
                        </ImagesFilterControl>
                        <Styles CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" CssPostfix="Office2010Blue">
                            <Header ImageSpacing="5px" SortingImageSpacing="5px">
                            </Header>
                            <LoadingPanel ImageSpacing="5px">
                            </LoadingPanel>
                        </Styles>
                        <StylesPager>
                            <PageNumber ForeColor="#3E4846">
                            </PageNumber>
                            <Summary ForeColor="#1E395B">
                            </Summary>
                        </StylesPager>
                        <StylesEditors ButtonEditCellSpacing="0">
                            <ProgressBar Height="21px">
                            </ProgressBar>
                        </StylesEditors>
                    </dx:ASPxGridView>
                </dx:PanelContent>
            </PanelCollection>
        </dx:ASPxRoundPanel>
        <dx:ASPxRoundPanel ID="RPMetasOficina" runat="server" Width="200px" CssFilePath="~/App_Themes/Aqua/{0}/styles.css"
            CssPostfix="Aqua" GroupBoxCaptionOffsetY="-28px" HeaderText="" SpriteCssFilePath="~/App_Themes/Aqua/{0}/sprite.css"
            ClientVisible="False">
            <ContentPaddings Padding="14px" />
            <PanelCollection>
                <dx:PanelContent ID="PanelContent1" runat="server" SupportsDisabledAttribute="True">
                    <table>
                        <tr>
                            <td style="width: 88px">
                                Oficina
                            </td>
                            <td>
                                <dx:ASPxComboBox ID="cboOficina" runat="server" CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css"
                                    CssPostfix="Office2010Blue" Spacing="0" SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css"
                                    IncrementalFilteringMode="Contains">
                                    <LoadingPanelImage Url="~/App_Themes/Office2010Blue/Editors/Loading.gif">
                                    </LoadingPanelImage>
                                    <LoadingPanelStyle ImageSpacing="5px">
                                    </LoadingPanelStyle>
                                    <ButtonStyle Width="13px">
                                    </ButtonStyle>
                                </dx:ASPxComboBox>
                            </td>
                            <td>
                                &nbsp;
                            </td>
                            <td>
                                Canal distribución:
                            </td>
                            <td>
                                <dx:ASPxComboBox ID="CboCanalDistribrucion" runat="server" CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css"
                                    CssPostfix="Office2010Blue" IncrementalFilteringMode="Contains" Spacing="0" SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css">
                                    <LoadingPanelImage Url="~/App_Themes/Office2010Blue/Editors/Loading.gif">
                                    </LoadingPanelImage>
                                    <LoadingPanelStyle ImageSpacing="5px">
                                    </LoadingPanelStyle>
                                </dx:ASPxComboBox>
                            </td>
                            <td>
                                &nbsp;
                            </td>
                            <td>
                                Año:
                            </td>
                            <td>
                                <dx:ASPxComboBox ID="cboAnioOficina" runat="server" CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css"
                                    CssPostfix="Office2010Blue" SelectedIndex="0" Spacing="0" SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css">
                                    <Items>
                                        <dx:ListEditItem Selected="True" Text="2010" Value="2010" />
                                        <dx:ListEditItem Text="2011" Value="2011" />
                                        <dx:ListEditItem Text="2012" Value="2012" />
                                        <dx:ListEditItem Text="2013" Value="2013" />
                                        <dx:ListEditItem Text="2014" Value="2014" />
                                    </Items>
                                    <LoadingPanelImage Url="~/App_Themes/Office2010Blue/Editors/Loading.gif">
                                    </LoadingPanelImage>
                                    <LoadingPanelStyle ImageSpacing="5px">
                                    </LoadingPanelStyle>
                                    <ButtonStyle Width="13px">
                                    </ButtonStyle>
                                </dx:ASPxComboBox>
                            </td>
                            <td>
                                Mes:
                                <dx:ASPxComboBox ID="cboMesOficina" runat="server" CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css"
                                    CssPostfix="Office2010Blue" Spacing="0" SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css">
                                    <Items>
                                        <dx:ListEditItem Text="Enero" Value="1" />
                                        <dx:ListEditItem Text="Febrero" Value="2" />
                                        <dx:ListEditItem Text="Marzo" Value="3" />
                                        <dx:ListEditItem Text="Abril" Value="4" />
                                        <dx:ListEditItem Text="Mayo" Value="5" />
                                        <dx:ListEditItem Text="Junio" Value="6" />
                                        <dx:ListEditItem Text="Julio" Value="7" />
                                        <dx:ListEditItem Text="Agosto" Value="8" />
                                        <dx:ListEditItem Text="Septiembre" Value="9" />
                                        <dx:ListEditItem Text="Octubre" Value="10" />
                                        <dx:ListEditItem Text="Noviembre" Value="11" />
                                        <dx:ListEditItem Text="Diciembre" Value="12" />
                                    </Items>
                                    <LoadingPanelImage Url="~/App_Themes/Office2010Blue/Editors/Loading.gif">
                                    </LoadingPanelImage>
                                    <LoadingPanelStyle ImageSpacing="5px">
                                    </LoadingPanelStyle>
                                    <ButtonStyle Width="13px">
                                    </ButtonStyle>
                                </dx:ASPxComboBox>
                            </td>
                        </tr>
                        <tr>
                            <td style="width: 88px">
                                &nbsp;
                            </td>
                            <td>
                                &nbsp;
                            </td>
                            <td>
                                &nbsp;
                            </td>
                            <td>
                                &nbsp;
                            </td>
                            <td>
                                &nbsp;
                            </td>
                            <td>
                                &nbsp;
                            </td>
                            <td>
                                &nbsp;
                            </td>
                            <td>
                                &nbsp;
                            </td>
                        </tr>
                        <tr>
                            <td align="justify">
                                Grupo árticulo:
                            </td>
                            <td>
                                <dx:ASPxComboBox ID="cboGrupoArticuloOficina" runat="server" CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css"
                                    CssPostfix="Office2010Blue" Spacing="0" SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css"
                                    IncrementalFilteringMode="Contains">
                                    <LoadingPanelImage Url="~/App_Themes/Office2010Blue/Editors/Loading.gif">
                                    </LoadingPanelImage>
                                    <LoadingPanelStyle ImageSpacing="5px">
                                    </LoadingPanelStyle>
                                    <ButtonStyle Width="13px">
                                    </ButtonStyle>
                                </dx:ASPxComboBox>
                            </td>
                            <td>
                                &nbsp;
                            </td>
                            <td>
                                Nro.rueda
                            </td>
                            <td>
                                <dx:ASPxComboBox ID="cboNroRuedasOficina" runat="server" CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css"
                                    CssPostfix="Office2010Blue" Spacing="0" SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css"
                                    SelectedIndex="0">
                                    <Items>
                                        <dx:ListEditItem Selected="True" Text="2R" Value="2R" />
                                        <dx:ListEditItem Text="3R" Value="3R" />
                                    </Items>
                                    <LoadingPanelImage Url="~/App_Themes/Office2010Blue/Editors/Loading.gif">
                                    </LoadingPanelImage>
                                    <LoadingPanelStyle ImageSpacing="5px">
                                    </LoadingPanelStyle>
                                    <ButtonStyle Width="13px">
                                    </ButtonStyle>
                                </dx:ASPxComboBox>
                            </td>
                            <td>
                                &nbsp;
                            </td>
                            <td>
                                Cantidad:
                            </td>
                            <td>
                                <dx:ASPxTextBox ID="txtCantidadOficina" runat="server" CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css"
                                    CssPostfix="Office2010Blue" SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css"
                                    Width="170px" Text="0">
                                </dx:ASPxTextBox>
                            </td>
                            <td align="center">
                                <dx:ASPxButton ID="btnAgregarOficina" runat="server" CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css"
                                    CssPostfix="Office2010Blue" SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css"
                                    Text="Agregar" OnClick="btnAgregarOficina_Click">
                                </dx:ASPxButton>
                            </td>
                        </tr>
                    </table>
                    <dx:ASPxGridView ID="grdOficina" runat="server" AutoGenerateColumns="False" CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css"
                        CssPostfix="Office2010Blue" Width="100%">
                        <Columns>
                            <dx:GridViewDataTextColumn Caption="Oficina" ShowInCustomizationForm="True" VisibleIndex="0"
                                FieldName="NOM_OFICINA">
                            </dx:GridViewDataTextColumn>
                            <dx:GridViewDataTextColumn Caption="Año" ShowInCustomizationForm="True" VisibleIndex="1"
                                FieldName="ANIO">
                            </dx:GridViewDataTextColumn>
                            <dx:GridViewDataTextColumn Caption="Mes" ShowInCustomizationForm="True" VisibleIndex="2"
                                FieldName="MES">
                            </dx:GridViewDataTextColumn>
                            <dx:GridViewDataTextColumn Caption="Grupo árticulo" ShowInCustomizationForm="True"
                                VisibleIndex="3" FieldName="DES_GRUPO_ARTICULO">
                            </dx:GridViewDataTextColumn>
                            <dx:GridViewDataTextColumn Caption="Nro.rueda" ShowInCustomizationForm="True" VisibleIndex="4"
                                FieldName="NroRuedas">
                            </dx:GridViewDataTextColumn>
                            <dx:GridViewDataTextColumn Caption="Cantidad" ShowInCustomizationForm="True" VisibleIndex="5"
                                FieldName="CANT">
                            </dx:GridViewDataTextColumn>
                            <dx:GridViewDataTextColumn FieldName="ID_UBIC_VEND_CAB" ShowInCustomizationForm="True"
                                Visible="False" VisibleIndex="8">
                            </dx:GridViewDataTextColumn>
                            <dx:GridViewDataTextColumn FieldName="ID_OFI_VTA" ShowInCustomizationForm="True"
                                Visible="False" VisibleIndex="9">
                            </dx:GridViewDataTextColumn>
                            <dx:GridViewDataTextColumn FieldName="ID_GRUPO_ARTICULO" ShowInCustomizationForm="True"
                                Visible="False" VisibleIndex="10">
                            </dx:GridViewDataTextColumn>
                            <dx:GridViewDataTextColumn FieldName="ID_MES" ShowInCustomizationForm="True" Visible="False"
                                VisibleIndex="7">
                            </dx:GridViewDataTextColumn>
                            <dx:GridViewDataTextColumn FieldName="ID_CANAL_DISTRIB" ShowInCustomizationForm="True"
                                Visible="False" VisibleIndex="6">
                            </dx:GridViewDataTextColumn>
                        </Columns>
                        <SettingsPager PageSize="20">
                        </SettingsPager>
                        <Images SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css">
                            <LoadingPanelOnStatusBar Url="~/App_Themes/Office2010Blue/GridView/Loading.gif">
                            </LoadingPanelOnStatusBar>
                            <LoadingPanel Url="~/App_Themes/Office2010Blue/GridView/Loading.gif">
                            </LoadingPanel>
                        </Images>
                        <ImagesFilterControl>
                            <LoadingPanel Url="~/App_Themes/Office2010Blue/GridView/Loading.gif">
                            </LoadingPanel>
                        </ImagesFilterControl>
                        <Styles CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" CssPostfix="Office2010Blue">
                            <Header ImageSpacing="5px" SortingImageSpacing="5px">
                            </Header>
                            <LoadingPanel ImageSpacing="5px">
                            </LoadingPanel>
                        </Styles>
                        <StylesPager>
                            <PageNumber ForeColor="#3E4846">
                            </PageNumber>
                            <Summary ForeColor="#1E395B">
                            </Summary>
                        </StylesPager>
                        <StylesEditors ButtonEditCellSpacing="0">
                            <ProgressBar Height="21px">
                            </ProgressBar>
                        </StylesEditors>
                    </dx:ASPxGridView>
                </dx:PanelContent>
            </PanelCollection>
        </dx:ASPxRoundPanel>
        <dx:ASPxPopupControl ID="popupmsj" runat="server" AllowDragging="True" ClientInstanceName="popupmsj"
            CloseAction="None" CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css" CssPostfix="PlasticBlue"
            EnableViewState="False" HeaderText="Mensaje" LoadingPanelText="Cargando&amp;hellip;"
            Modal="True" PopupHorizontalAlign="WindowCenter" PopupVerticalAlign="WindowCenter"
            SpriteCssFilePath="~/App_Themes/PlasticBlue/{0}/sprite.css" Width="300px">
            <LoadingPanelImage Url="~/App_Themes/PlasticBlue/Web/dvLoading.gif">
            </LoadingPanelImage>
            <CloseButtonStyle>
                <Paddings Padding="0px" />
                <Paddings Padding="0px"></Paddings>
            </CloseButtonStyle>
            <ContentStyle>
                <BorderBottom BorderColor="#E0E0E0" BorderStyle="Solid" BorderWidth="1px" />
                <BorderBottom BorderColor="#E0E0E0" BorderStyle="Solid" BorderWidth="1px"></BorderBottom>
            </ContentStyle>
            <HeaderStyle>
                <Paddings PaddingBottom="4px" PaddingLeft="10px" PaddingRight="4px" PaddingTop="4px" />
                <Paddings PaddingLeft="10px" PaddingTop="4px" PaddingRight="4px" PaddingBottom="4px">
                </Paddings>
            </HeaderStyle>
            <ContentCollection>
                <dx:PopupControlContentControl ID="PopupControlContentControl5" runat="server" SupportsDisabledAttribute="True">
                    <br />
                    <dx:ASPxPanel ID="ASPxPanel2" runat="server" DefaultButton="btCreate">
                        <PanelCollection>
                            <dx:PanelContent ID="Panelpopup" runat="server">
                                <table align="center">
                                    <tr>
                                        <td colspan="2">
                                            <dx:ASPxLabel ID="lblmsj" runat="server" CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css"
                                                CssPostfix="Office2010Blue">
                                            </dx:ASPxLabel>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td colspan="2">
                                            &nbsp;
                                        </td>
                                    </tr>
                                </table>
                                <table align="center">
                                    <tr>
                                        <td align="center" style="width: 215px">
                                            <dx:ASPxButton ID="ASPxButton1" runat="server" Text="Aceptar" AutoPostBack="False"
                                                CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" CssPostfix="Office2010Blue"
                                                SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css">
                                                <ClientSideEvents Click="function(s, e) {
	popupmsj.Hide();
}" />
                                            </dx:ASPxButton>
                                        </td>
                                    </tr>
                                </table>
                            </dx:PanelContent>
                        </PanelCollection>
                    </dx:ASPxPanel>
                </dx:PopupControlContentControl>
            </ContentCollection>
        </dx:ASPxPopupControl>
    </div>
</asp:Content>
